wpdFormAttr\Form D

Total Complexity 415
Dependencies 6
Dependents 2
Total lines 1,719
Lines of code 1,632
Logical lines of code 843
Comment lines 2
Methods 63
Properties 17

Methods 63

Method Rating Maintainability Complexity Lines of code
renderFormStructure()
D
14
40 450
validateGeneralOptions()
C
34 26 93
getPostRatingHtml()
B
38 22 58
getRatingMetaHtml()
B
37 21 70
isUserCanComment()
B
44 22 35
renderTextEditorButtons()
B
40 17 57
renderFrontForm()
B
40 16 59
savePostRatingMeta()
B
43 16 46
saveCommentMeta()
A
45 14 36
getSingleRatingHtml()
A
43 12 45
isUserCanSeeComments()
A
52 12 22
renderTextEditor()
A
44 10 46
saveFormPostRel()
A
50 10 27
getRatingSchema()
A
51 10 23
setFormID()
A
50 9 29
getThemes()
A
46 8 39
initFormFields()
A
53 9 22
displayRatingMeta()
A
54 9 21
renderEditFrontCommentForm()
S
47 7 30
_renderFrontCommentMetaHtml()
S
56 8 15
theFormListData()
S
59 8 12
saveFormContentTypeRel()
S
54 7 20
initFormMeta()
S
59 7 14
getTheme()
S
51 6 27
renderFrontCommentMetaHtml()
S
58 6 15
displayRatingMetaBeforeCommentForm()
S
59 6 14
cleanUnusedData()
S
58 5 16
showRecaptcha()
S
76 6 3
renderEditAdminCommentForm()
S
51 4 30
validateFields()
S
58 4 15
getLayouts()
S
59 4 14
getDefaultTheme()
S
59 4 14
updateSeparateRatingMeta()
S
60 4 12
saveFormData()
S
58 3 15
defaultFieldsData()
S
47 1 43
validateFormStructure()
S
62 3 12
validateSubscribtionCaptcha()
S
70 3 6
getHeaderTextSingle()
S
68 2 7
transferJSData()
S
71 2 5
getEnableRateOnPost()
S
68 2 7
getPostRatingTitle()
S
68 2 7
getUserCanRateOnPost()
S
69 2 7
getHeaderTextPlural()
S
68 2 7
subscriptionBarAgreementLabel()
S
77 2 3
isShowSubscriptionBarAgreement()
S
75 2 4
getLayout()
S
69 2 7
customFieldsExists()
S
76 2 4
getFormCustomFields()
S
82 1 3
resetData()
S
72 1 6
getGeneralOptions()
S
82 1 3
getFormID()
S
82 1 3
getAllowedFieldsType()
S
81 1 3
getRatingsExists()
S
75 1 5
getCaptchaFied()
S
82 1 3
isShowSubscriptionBar()
S
80 1 3
getCustomCSS()
S
79 1 3
getFormPostTypes()
S
82 1 3
validateDefaultWebsite()
S
71 1 5
validateDefaultName()
S
71 1 5
validateDefaultEmail()
S
67 1 7
validateDefaultCaptcha()
S
75 1 4
getFormFields()
S
82 1 3
__construct()
S
64 1 10